<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
        <?php if(!$stop){?><meta http-equiv="refresh" content="<?php echo $limittime;?>;URL=<?php echo $gourl;?>" /><?php }?>
        <title>提示信息 <?php echo get_config('webname');?></title>
        <link rel="Shortcut Icon" href="/favicon.ico" />
        <style type="text/css">
            *{padding:0;margin:0;}
            body{background:#fff;color:#000;font-family:"Microsoft Yahei","Hiragino Sans GB","Helvetica Neue",Helvetica,tahoma,arial,"WenQuanYi Micro Hei",Verdana,sans-serif;}
            #msg{border:1px solid #5eb95e;width:500px;position:absolute;top:44%;left:50%;margin:-87px 0 0 -250px;padding:1px;line-height:30px;text-align:center;font-size:16px;background:#fff;}
            #msgtit{height:35px;line-height:35px;color:#fff;background:#5eb95e;}
            #msgbody{margin:20px 0;text-align:center}
            #info{margin-bottom:10px;word-wrap:break-word;}
            #msgbody p{font-size:14px;}
            #msgbody p a{font-size:14px;color:#333;text-decoration:none;}
            #msgbody p a:hover{color:#5a98de;}
            <?php
            $skin = $_COOKIE['ticky_tickyskin'];
            if (isset($skin)) {
                $background = "#222";
                switch ($skin) {
                    case 'blue'://蓝色
                        $background = "#2d6dcc";
                    break;
                    case 'green'://绿色
                        $background = "#19a97b";
                    break;
                    case 'red'://红色
                        $background = "#c81623";
                    break;
                    case 'yellow'://黄色
                        $background = "#ffd200";
                    break;
                    case 'orange'://橙色
                        $background = "#ff4a00";
                    break;
                    default ://黑色
                        $background = "#222";
                    break;
                }
                echo "#msg{border:1px solid " . $background . "}";
                echo "#msgtit{background:" . $background . "}";
            }
            ?>
        </style>
    </head>
    <body>
        <div id="msg">
            <div id="msgtit"><?php echo get_config('webname');?> 提示信息</div>
            <div id="msgbody">
                <div id="info"><?php echo $msg;?></div>
                <?php if(!$stop){?>
        <p>本页面将在<span style="color:red; font-weight:bold;margin:0 5px;" id="wait"><?php echo $limittime;?></span>秒后跳转...</p>
                <script type="text/javascript">
                    onload=function(){setInterval(go, 1000); };
                    var x=<?php echo $limittime;?>;
                    function go(){ x--; if(x>0){document.getElementById("wait").innerHTML=x;}}
                </script>
                <?php }else{?>
		<p><a href="javascript:history.back(-1)" title="点击返回上一页">点击返回上一页</a></p>
	 <?php }?>
            </div>
        </div>
    </body>
</html>